<extend name="Public/base" />
<block name="body">
<div class="m-tab s-tab">
  <h2 class="u-tt">用户管理</h2>
  <ul>
    <li><a href="{:U('member/index')}">用户列表</a></li>
    <li class="z-crt"><a href="">编辑资料</a></li>
  </ul>
</div>
<div class="m-form">
  <form name="" action="{:U('changepassword')}" method="post" id="form">
    <fieldset>
      <div class="formitm">
        <label class="lab">密码：</label>
        <div class="ipt">
          <input name="password" type="password" class="u-ipt u-ipt-5" id="password" ignore="ignore"  value="" maxlength="18" datatype="*4-18" errormsg="密码至少4个字符,最多18个字符！" placeholder="不修改密码请留空"/>
          <span class="suffix"></span> 
          <p></p>
        </div>
      </div>
      <div class="formitm">
        <label class="lab">重复密码：</label>
        <div class="ipt">
          <input name="confirmpassword" type="password" class="u-ipt u-ipt-5" id="confirmpassword" ignore="ignore"   value="" maxlength="18"  datatype="*" recheck="password" errormsg="您两次输入的密码不一致！" placeholder="不修改密码请留空"/>
          <p></p>
        </div>
      </div>
      
      <div class="formitm formitm-1  formitm-2">
        <input name="uid" type="hidden" value="{$uid}" />
        <button class="u-btn" type="submit">保存</button>
        <button class="u-btn s-btn-c3" type="reset">重置</button>
        <span class="status" id="status"></span> </div>
    </fieldset>
  </form>
</div>
<script>
Do.ready('base','form','dialog',function() {
  $('#form').duxForm();
});
</script>
</block>